<%@page import="org.h2.command.ddl.CreateLinkedTable"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="layout" content="main" />
<title>Consulta Tipo de taxi</title>
<g:javascript library="prototype" />

</head>
<body>
	<div class="nav">

		<span class="menuButton"><g:link action="list">Lista de Tipo de Taxi</g:link></span>

	</div>

	<div class="body">
		<h1>Consulta Tipo de taxi</h1>
		<g:if test="${flash.message}">
			<div class="message">
				${flash.message}
			</div>
		</g:if>

		<g:hasErrors bean="${tipotaxi}">

			<div class="errors">
				<g:renderErrors bean="${tipotaxi}" as="list" />
			</div>
		</g:hasErrors>

		<g:formRemote name="ajaxForm"
			url="[controller:'tipotaxi',action:'doSearch']"
			update="[success:'message',failure:'error']">

			<div class="dialog">
				<table style="width: 500px">
					<tr>
						Quantidade lugares:
						<input type='number' class="form-control" name='quantidadeLugares' value='${tipotaxi?.quantidadeLugares}' required=""/>
						<p> 
						Mala de mão:
						<input type='number' class="form-control" name='malaMao'value='${tipotaxi?.malaMao}' required=""/>
						<p>
						Mala de carrinho:
						<input type='number' class="form-control" name='malaCarrinho' value='${tipotaxi?.malaCarrinho}' required=""/> 
						Ar condicionado:
						<g:checkBox name="arCondicionado" value="${tipotaxiInstance?.arCondicionado}" />
						<p>
						Deficiente físico:
						<g:checkBox name="deficienteFisico" value="${tipotaxiInstance?.deficienteFisico}" />
						
						<button type="submit" class="btn btn-default" value="Buscar">Buscar</button>
					</tr>

				</table>

				</br>
			</div>
			<div class="buttons"></div>
		</g:formRemote>
	</div>
	<div class="body" id="message" /></div>
	<div class="body" id="error"></div>

</body>
</html>